package com.waimai.app.qa.support;

/*package com.sugon.theia.qa.support;

import java.net.MalformedURLException;
import java.net.URL;
import br.eti.kinoshita.testlinkjavaapi.TestLinkAPI;
import br.eti.kinoshita.testlinkjavaapi.util.TestLinkAPIException;

public class Result2TestLinkDemo {

	public static void main(String[] args) {
	
        //String url = "http://<server>:<port>/testlink/lib/api/xmlrpc.php";
		String url = "http://192.168.226.128/testlink/lib/api/xmlrpc.php";
        String devKey = "672446a383296ff042640d64edcdc993";
        //TestLinkAPI api = null;
   
        URL testlinkURL = null;
        try{
        	testlinkURL = new URL(url);
        }catch( MalformedURLException mue ){
        	mue.printStackTrace( System.err );
            System.exit(-1);
        }
        try{
        	api = new TestLinkAPI(testlinkURL, devKey);
    	} catch( TestLinkAPIException te) {
    	te.printStackTrace( System.err );
        System.exit(-1);
    }
    	System.out.println(api.ping());
  }
}*/